LearningStoreTransactionScope Constructor (TransactionOptions)

Initializes a new instance of the LearningStoreTransactionScope class with the specified options.

Parent Type: LearningStoreTransactionScope

Namespace: Microsoft.LearningComponents.Storage

Assembly: Microsoft.LearningComponents.Storage.dll

Syntax
C#

public LearningStoreTransactionScope (
TransactionOptions transactionOptions

)

Parameters

transactionOptions

The transaction options to use if a new transaction is created (i.e., if this is the outermost scope). If a new transaction is not created (i.e., this scope is nested inside another), then the isolation level must either be unspecified or identical to the currently-existing transaction, and the timeout value must be zero.

Exceptions
Exception type Condition
System.InvalidOperationException

The transaction options specified are invalid.

Remarks

See LearningStoreTransactionScope for more information.